public class TestDome {
    public static void main(String[] args) {
        int[] array1 = new int[]{1,2,3,4,5};
        for(int i=0;i<array1.length;++i){
            System.out.print(array1[i]+" ");
        }
        System.out.println();
        for (int x:array1) {
            System.out.print(x+" ");
        }
        System.out.println();
    }
    public static void main_01(String[] args) {
        int[] array1 = new int[]{10, 3, 4, 5, 6, 7};
        array1[3] = 58;
        int[] array2 = new int[5];
        array2[0] = 9;
        int[] var10000 = new int[]{1, 2, 30, 14, 5};
        int[] array3 = new int[]{1, 2, 3, 4, 5};
        System.out.println(array3.length);
        System.out.println(array3[0]);
    }
}
